﻿@model IEnumerable<CVNTestCasper.Models.BulkImportDetails>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Aktiv)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Nominelt)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Kurs)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Ændring)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Valuta)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Valutakurs)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Rente)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.MarkedsBeloebDK)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Vægt)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Aktiv)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Nominelt)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Kurs)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Ændring)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Valuta)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Valutakurs)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Rente)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.MarkedsBeloebDK)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Vægt)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Aktiv }) |
            @Html.ActionLink("Details", "Details", new { id=item.Aktiv }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Aktiv })
        </td>
    </tr>
}

</table>
